package ss9999999999;

public class Student01 {
    String name;
    int age;
    String className ;
    int id;
    Student01(){}
    Student01(String name, int age, String className, int id){
        this.name=name;
        this.age=age;
        this.className=className;
        this.id=id;
    }
    void say(){
        System.out.println("大家好，我是"+name);
    }
    void sayHello(){
        System.out.println("大家好，我是"+name+",今年"+age+"岁了");
    }
    void play(String player){
        System.out.println(name+"今天和"+player+"一起玩了");
    }
}
